from plugin.plugin_sqlalchemy import db

# 服务器连接
def get_db():
    try:
        yield db
    finally:
        db.close()